import request from "@/utils/request";
/**
* @exports 导出项目
* @param params 
* @returns Promise
*/
export const exportItem = (params: ItemSearchParam) => {
    return request.post<RestResult>("/mgt/export/item", params, { responseType: 'blob' });
}

/**
* @exports 导出系统日志
* @param params 
* @returns Promise
*/
export const exportSysLog = (params: SysLogSearchParam) => {
    return request.post<RestResult>("/mgt/export/sysLog", params, { responseType: 'blob' });
}

/**
* @exports 导出租户
* @param params 
* @returns Promise
*/
export const exportTenant = (params: TenantSearchParam) => {
    return request.post<RestResult>("/mgt/export/tenant", params, { responseType: 'blob' });
}
